/*
 Navicat MySQL Data Transfer

 Source Server         : localhost
 Source Server Type    : MySQL
 Source Server Version : 50717
 Source Host           : localhost:3306
 Source Schema         : spring-event-threadpool

 Target Server Type    : MySQL
 Target Server Version : 50717
 File Encoding         : 65001

 Date: 07/04/2020 07:52:02
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_order
-- ----------------------------
DROP TABLE IF EXISTS `t_order`;
CREATE TABLE `t_order` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) DEFAULT NULL,
  `sku_name` varchar(255) DEFAULT NULL,
  `sku_id` int(11) DEFAULT NULL,
  `price` decimal(15,6) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `create_data` datetime DEFAULT NULL,
  `update_date` datetime DEFAULT NULL,
  `mobile` varchar(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of t_order
-- ----------------------------
BEGIN;
INSERT INTO `t_order` VALUES (1, NULL, '???', 1, 100.000000, 1, '2020-04-04 11:44:16', '2020-04-04 11:44:19', NULL);
COMMIT;

-- ----------------------------
-- Table structure for t_order_log
-- ----------------------------
DROP TABLE IF EXISTS `t_order_log`;
CREATE TABLE `t_order_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `order_id` int(11) DEFAULT NULL,
  `from_status` int(11) DEFAULT NULL,
  `to_status` int(11) DEFAULT NULL,
  `create_date` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of t_order_log
-- ----------------------------
BEGIN;
INSERT INTO `t_order_log` VALUES (1, NULL, 0, 1, '2020-04-04 18:34:07');
INSERT INTO `t_order_log` VALUES (2, 1, 0, 1, '2020-04-04 18:35:43');
INSERT INTO `t_order_log` VALUES (3, 1, 0, 1, '2020-04-04 18:38:31');
INSERT INTO `t_order_log` VALUES (4, 1, 0, 1, '2020-04-04 18:45:17');
INSERT INTO `t_order_log` VALUES (5, 1, 0, 1, '2020-04-04 19:57:22');
INSERT INTO `t_order_log` VALUES (6, 1, 0, 1, '2020-04-04 20:31:20');
INSERT INTO `t_order_log` VALUES (7, 1, 0, 1, '2020-04-04 23:22:00');
INSERT INTO `t_order_log` VALUES (8, 1, 0, 1, '2020-04-04 23:23:48');
INSERT INTO `t_order_log` VALUES (9, 1, 0, 1, '2020-04-04 23:25:09');
INSERT INTO `t_order_log` VALUES (10, 1, 1, 1, '2020-04-06 19:32:19');
INSERT INTO `t_order_log` VALUES (11, 1, 1, 1, '2020-04-06 20:47:21');
INSERT INTO `t_order_log` VALUES (12, 1, 1, 1, '2020-04-06 21:01:59');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
